# -*- coding = utf-8 -*-
# @Time : 2022/1/23 22:23
# @Author : 龙王赘婿_彪少
# @File : download_wulianwang.py
# @Software: PyCharm

import os


class YOUGET:
    def __init__(self):
        self.download_wulianwang()

    def download_wulianwang(self):
        url = "https://www.bilibili.com/video/BV1dJ411S723?p="

        for i in range(7, 8):
            try:
                os.system("you-get " + "-o " + "H:/教程/视频教程 " + url + str(i))  # 下载地址
                print("下载" + url + str(i) + "成功")
            except:
                print("下载失败")


if __name__ == "__main__":
    obj = YOUGET()
